<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
<?php 
$layout = explode('&&&', file_get_contents('layout.html'));
echo $layout[0];

session_start();
if (!(isset($_SESSION['username'])))
	header("location:login.php");
else if (!(isset($_SESSION['level'])) || $_SESSION['level']==0)
	header("location:AccessDenied.php");
?>

<html>
<body>

<!-- Begin Main Column -->

<div id="mainContent">

	<h2>
	Admin
    </h2>
    
    <p>
    
		<ul>
			<li><a href="AddUser.php">Add User</a></li>
			<li><a href="DeleteUser.php">Delete User</a></li>

		</ul>
    
    </p>
    
</div>

<!-- Begin Side Column -->
<!-- Begin Footer -->
<?php
echo $layout[1];
?>

</body>
</html>

